Skip to content

Move stats + CTA inside flex-1 column next to Moleskine cover#819

Merged
realproject7 merged 1 commit intomainfrom
task/818-stats-next-to-cover
Apr 3, 2026
Merged

Move stats + CTA inside flex-1 column next to Moleskine cover#819
realproject7 merged 1 commit intomainfrom
task/818-stats-next-to-cover

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Moves stats grid and AddPlotButton back inside the min-w-0 flex-1 info column div
  • Flexbox naturally places them next to the cover on both mobile and desktop
  • Removes the sm:pl-[176px] padding hack — no longer needed

Before/After

  • Before: stats + CTA below the cover+info flex-row with padding indent
  • After: stats + CTA inside the right column, naturally next to the cover

Test Plan

  • Desktop: stats grid sits next to cover in right column
  • Desktop: CTA button in right column
  • Mobile: cover + info + stats all flow naturally side by side
  • No sm:pl-[176px] remaining

Fixes #818

🤖 Generated with Claude Code

Move stats grid and AddPlotButton back inside the min-w-0 flex-1
info column div. Flexbox naturally places them next to the cover
on both mobile and desktop. Remove sm:pl-[176px] hack.

Fixes #818

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Apr 3, 2026 5:12pm

Request Review

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR fixes the actual layout bug from issue #818 by moving the stats grid and CTA into the flex-1 info column instead of faking alignment with padding. I did not find a code-level or layout-level blocker in the final header structure.

Findings

  • No blocking findings.

Decision

Approving. The stats grid and CTA now sit next to the Moleskine cover in the right column, the sm:pl-[176px] hack is removed, and the mobile layout still follows the same unified structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Desktop: stats boxes and CTA not next to Moleskine cover

2 participants